package com.l9lou.creeper.server;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Of course, bootstrap
 *
 *
 * User: eric
 * Date: 11-7-16
 * Time: 下午6:37
 */
public class Bootstrap {

    public static void main(String...args){
        ClassPathXmlApplicationContext runningContext =
                new ClassPathXmlApplicationContext("context/main-config.xml");
        Server server = runningContext.getBean("server", Server.class);
        server.start();
    }

}
